var combobox_model_properties = Ext.create('Ext.form.field.ComboBox',{
	xtype		: 'combo',
	id			: 'primaryKey',
    name		: 'primaryKey',
    queryMode	: 'remote',
    width		: 460,
//    labelWidth	: 30,
    editable	: false,
    allowBlank	: true,
    typeAhead	: true,
//    pageSize	: 30,
    minChars	: 1,
    emptyText	: '请选择主键属性',
    listeners	: {
    	select	: function(combo, records, eOpts){
    		
    	}
    },
    store: new Ext.data.JsonStore({
	    pageSize: 30,
	    autoLoad:true,
	    proxy: {
	        type: 'ajax',
	        url: '/codemaker/modelPropertiesSelect.json',
	        reader: {
	            type: 'json',
	            totalProperty:'totalCount'
	        }
	    },
	    fields: ['name','name'],
	    listeners:{
	    	load:function(c, records, successful, operation, eOpts){
	    	},
	    	beforeload (store, operation, eOpts ){
	    		var modelName = Ext.getCmp('modelName').getValue();
	    		store.getProxy().setExtraParams({
	    			clazz:modelName
	    		});
	    	}
	    }
	}),
    valueField		: 'name',
    displayField	: 'name',
    triggerAction	: 'all',
    fieldLabel		: '主键映射属性'
});